package com.zrs.gmall.item.client.impl;

import com.zrs.gmall.common.result.Result;
import com.zrs.gmall.item.client.ItemFeignClient;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * @author ZhaoRuiSheng
 * @create 2023/2/26 13:12
 */
@Component
public class ItemDegradeFeignClient implements ItemFeignClient {
    @Override
    public Result getItemAllData(Long skuId) {
        return Result.fail();
        //以上等价于 return null;
    }
}
